﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wuther.Entities.Models;
using Wuther.Util.DtoParameters;
using Wuther.Util.Helper;

namespace Wuther.Bussiness.Interface
{
    public interface IArticleRepository : IRepository<Article>
    {
        Task<Article> GetArticleAsync(int id);
        Task<PagedList<Article>> GetArticlesAsync(DtoArticleParameter parameter);
    }
}
